<template>
  <button @click="count++">count的值是：{{count}}</button>
  <hr/>
  <MyComponent :msg="`Vue ${count}`" />
</template>

<script lang="ts">
import MyComponent from "./components/MyComponent.vue"
let count:number=100;
export default {
  name:"App",
  data(){
    return {
      count
    }
  },
  components:{
    MyComponent
  }
}
</script>
<style>
  button{
    font-size: 20px;
    font-weight: bold;
  }
</style>
